package com.liu.service.impl;

import com.liu.bean.XztkExample;
import com.liu.bean.XztkWithBLOBs;
import com.liu.mapper.XztkMapper;
import com.liu.service.XztkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class XztkServiceImpl implements XztkService {
    @Autowired
    XztkMapper mapper;
    @Override
    public List<XztkWithBLOBs> selectByExample(XztkExample example) {
        return mapper.selectByExampleWithBLOBs(example);
    }

    @Override
    public int count(XztkExample example) {
        return mapper.countByExample(example);
    }
}
